package com.currency.mall.entity;

import java.util.List;

/**
 * Created by Administrator on 2018/12/26.
 */

public class SecurityBean {


    private String code;//": "0000",  #处理状态
    private String msg;//": "成功",  #处理提示信息
    private List<SecurityInfo> bonds;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<SecurityInfo> getBonds() {
        return bonds;
    }

    public void setBonds(List<SecurityInfo> bonds) {
        this.bonds = bonds;
    }

    public class SecurityInfo{
        private String code;//": "s_sh000001", #证券code
        private String name;//": "上证指数",   #证券名称
        private String currentVal;//": "2527.8478", #证券目前
        private Double upsDownsVal;//": "11.5972", #跌涨值，正数涨，负数跌
        private Double upsDownsRate;//": "0.46" #跌涨率，正数涨，负数跌,单位%

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCurrentVal() {
            return currentVal;
        }

        public void setCurrentVal(String currentVal) {
            this.currentVal = currentVal;
        }

        public Double getUpsDownsVal() {
            return upsDownsVal;
        }

        public void setUpsDownsVal(Double upsDownsVal) {
            this.upsDownsVal = upsDownsVal;
        }

        public Double getUpsDownsRate() {
            return upsDownsRate;
        }

        public void setUpsDownsRate(Double upsDownsRate) {
            this.upsDownsRate = upsDownsRate;
        }
    }

}
